package com.xxc.smartcar.wifi.bean;

public class DeviceInfo {

    private String carDirection; // 小车方向：left, right, run, back, stop
    private String led; // LED模式：ledOff, led1-led6
    private String model; // 工作模式：auto, manual
    private int speed; // 速度值：0-100

    public DeviceInfo() {
        // 默认初始化
        this.carDirection = "stop";
        this.led = "led1";
        this.model = "manual";
        this.speed = 80;
    }

    public String getCarDirection() {
        return carDirection;
    }

    public void setCarDirection(String carDirection) {
        this.carDirection = carDirection;
    }

    public String getLed() {
        return led;
    }

    public void setLed(String led) {
        this.led = led;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }
}
